Part Number Hot Search : 
440000 BD140 N222A 6MBP150R MP7720DS NDL4815S 22152 856977
Product Description
Full Text Search
 

To Download MAX44005 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  ????????????????????????????????????????????????????????????????? maxim integrated products 1 general description the MAX44005 integrates 7 sensors in one product: red, green, blue (rgb) sensors; an ambient light (clear) sen - sor; a temperature sensor; an ambient infrared sensor, and an infrared proximity sensor with an i 2 c interface. this highly integrated optical sensor includes a tempera - ture sensor to improve reliability and performance. the ic computes all the light information with parallel data converters to make simultaneous light measurement in a very short time. the chip consumes only 15 f a in rgbc + ir mode and operates at 1.8v supply voltage. the ics rgb sensing capability improves the perfor - mance of end products by providing robust and precise information for ambient color sensing and color tempera - ture measurement. the integrated proximity sensor uses a single-pulse led scheme to achieve very low power consumption. this method also improves sunlight rejection and 50hz/60hz noise to deliver reliable proximity measurements. with this technology, the ic is a perfect solution for touch-screen portable devices and presence detection applications. the on-chip ambient sensor has the ability to make wide dynamic range 0.002~8388.61 f w/cm 2 measurements. the ics digital computation power provides program - mability and flexibility for end-product design. a pro - grammable interrupt pin minimizes the need to poll the device for data, freeing up microcontroller resources, and reducing system software overhead, and ultimately, power consumption. all these features are included in a tiny, 2mm x 2mm x 0.6mm optical package. features s optical sensor fusion for true color sensing ? 7 parallel adcs ? r, g, b, ir, als, proximity sensing ? temperature sensing s superior sensitivity ? 0.001 lux s optimized for system power efficiency ? 10a in ambient mode ? 15a in rgbc + ir mode ? 0.01a in shutdown mode s integrated 1-pulse ir led driver for proximity sensing ? improved sensitivity and power saving ? sunlight rejection s digital functionalities ? programmable channel gains ? adjustable interrupt thresholds s high-level integration ? 7 sensors in a 2mm x 2mm x 0.6mm package functional diagram 19-6292; rev 0; 5/12 ordering information appears at end of data sheet. smartphones tablet pcs tvs/displays digital light management presence detection industrial sensors color correction applications for related parts and recommended products to use with this part, refer to: www.maxim-ic.com/MAX44005.related c MAX44005 i 2 c sda sclk 14-bit adc 14-bit adc 14-bit adc amb pga amb pga amb pga amb pga red drv green blue clear i rled gnd gnd v led v cc comp amb pga temp 14-bit adc 14-bit adc 14-bit adc amb pga ambient cancellation 14-bit adc amb pga int ir MAX44005 rgb color, temperature, and infrared proximity sensor evaluation kit available for pricing, delivery, and ordering information, please contact maxim direct at 1-888-629-4642, or visit maxims website at www.maxim-ic.com.
????????????????????????????????????????????????????????????????? maxim integrated products 2 MAX44005 rgb color, temperature, and infrared proximity sensor v cc to gnd .......................................................... -0.3v to +2.2v drv, int , scl, sda ............................................... -0.3v to +6v continuous power dissipation (derate 11.9mw/ n c above +70 n c) .............................. 953mw continuous input current into any terminal ................... 20ma output short-circuit current duration ....................... continuous operating temperature range .......................... -40 n c to +85 n c soldering temperature (reflow) ...................................... +260 n c otdfn junction-to-ambient thermal resistance ( b ja ) ....... 83.9 n c/w junction-to-case thermal resistance ( b jc ) ............... 37 n c/w absolute maximum ratings note 1: package thermal resistances were obtained using the method described in jedec specification jesd51-7, using a four- layer board. for detailed information on package thermal considerations, refer to www.maxim-ic.com/thermal-tutorial . stresses beyond those listed under absolute maximum ratings may cause permanent damage to the device. these are stress ratings only, and functional opera - tion of the device at these or any other conditions beyond those indicated in the operational sections of the specifications is not implied. exposure to absolute maximum rating conditions for extended periods may affect device reliability. package thermal characteristics (note 1) electrical characteristics (v cc = 1.8v, t a = +25 n c, t min Ct max are from -40 n c to +85 n c, unless otherwise noted.) (note 2) parameter symbol conditions min typ max units color sensor characteristics maximum sensitivity (note 3) clear = 538nm 0.002 f w/cm 2 red = 630nm 0.002 green = 538nm 0.002 blue = 470nm 0.004 infrared = 850nm 0.002 maximum sense capability clear = 538nm 8388 f w/cm 2 red = 630nm 8388 green = 538nm 8388 blue = 470nm 16,777 infrared = 850nm 8388 total error te power = 10 f w/cm 2 red = 630nm, green = 538nm, blue = 470nm, clear = 538nm, ir = 850nm t a = +25 n c 2 15 % gain matching red to green to blue, t a = +25 n c 0.5 10 % power-up time t on 10 ms dark level counts 6.25ms conversion time, 0 lux, t a = +25 n c 2 counts adc conversion time 14-bit resolution (note 4) 400 ms
????????????????????????????????????????????????????????????????? maxim integrated products 3 MAX44005 rgb color, temperature, and infrared proximity sensor electrical characteristics (continued) (v cc = 1.8v, t a = +25 n c, t min Ct max are from -40 n c to +85 n c, unless otherwise noted.) (note 2) parameter symbol conditions min typ max units adc conversion time 14-bit resolution, t a = +25 n c 100 ms 12-bit resolution 25 10-bit resolution 6.25 8-bit resolution 1.5625 adc conversion time t a = +25 n c 1 10 % t a = -40 n c to +85 n c 2 15 infrared proximity receiver infrared receiver sensitivity 850nm ir led 2 f w/cm 2 maximum infrared receiver 850nm ir led 16,777 f w/cm 2 adc conversion time 10-bit resolution 6.25 ms 8-bit resolution 1.5625 sunlight rejection 100,000 lux infrared led transmitter minimum ir led drive current i drv 10 ma maximum ir led drive current i drv 110 ma drive current accuracy i out = 110ma, v drv = 1.5v 15 % i out = 50ma, v drv = 1.5v 15 i out = 10ma, v drv = 1.5v 15 main voltage of drv pin i out = 110ma, d i out = 2% 0.5 3.6 v main voltage of drv pin i out = 100ma, d i out = 5% 0.3 3.6 v burst-on/burst-off ratio ambtim[2:0] = 100, prxtim = 0, mode[2:0] = 011 0.03 % temperature sensor accuracy (note 5) t a = +25 n c~+55 n c 1 3 n c t a = +0 n c~+70 n c 2 5 resolution 0.25 n c/lsb power supply power-supply voltage v cc guaranteed by total error 1.7 2 v quiescent current i cc clear mode 10 18 f a rgbc + ir mode 15 30 led on 420 550 software shutdown current i shdn t a = +25 n c 1 f a
????????????????????????????????????????????????????????????????? maxim integrated products 4 MAX44005 rgb color, temperature, and infrared proximity sensor note 2: 100% production tested at t a = +25 c. specifications over temperature limits are guaranteed by bench or ate characterization. note 3: in ambtim[2:0] mode (100ms integration time). note 4: at 14-bit resolution mode. sensitivity is 4x higher with 400ms integration time than 100ms integration time. note 5: production tested only at t a = +25 c, guaranteed by bench characterization across temperature. note 6: design guidance only, not production tested. electrical characteristics (continued) (v cc = 1.8v, t a = +25 n c, t min Ct max are from -40 n c to +85 n c, unless otherwise noted.) (note 2) parameter symbol conditions min typ max units digital characteristics (sda, int ) output low voltage v ol i sink = 6ma 0.4 v i 2 c input voltage high v ih sda, scl 1.4 v i 2 c input voltage low v il sda, scl 0.4 v input hysteresis v hys 200 mv input capacitance c in 10 pf input leakage current i in v in = 0v, t a = +25 n c 0.1 f a v in = 5.5v, t a = +25 n c 0.1 i 2 c timing characteristics (note 6) serial-clock frequency f scl 0 400 khz bus free time between stop and start t buf 1.3 f s hold time (repeated) start condition t hd,sta 0.6 f s low period of the scl clock t low 1.3 f s high period of the scl clock t high 0.6 f s setup time for a repeated start t su.sta 0.6 f s setup time for stop condition t su,sto 0.6 f s data hold time t hd,dat 0 0.9 f s data setup time t su,dat 100 ns bus capacitance c b 400 pf sda and scl receiving rise time t r 20 + 0.1c b 300 ns sda and scl receiving fall time t f 20 + 0.1c b 300 ns sda transmitting fall time t f 20 + 0.1c b 250 ns pulse width of suppressed spike t sp 0 50 ns
????????????????????????????????????????????????????????????????? maxim integrated products 5 typical operating characteristics (v cc = 1.8v, t a = +25 n c, t min Ct max are from -40 n c to +85 n c, unless otherwise noted.) MAX44005 rgb color, temperature, and infrared proximity sensor radiation pattern MAX44005 toc04 angle of incidence () normalized counts 80 70 60 50 30 10 40 20 0 -10 -20 -30 -40 -90 -80 -70 -60 -50 90 parallel to dip pins direction clear channel ambpga [1:0] = 00 ambtim [2:0] = 000 perpendicular to dip pins direction wavelength (nm) 2k 4k 6k 8k 10k 12k 14k 0 MAX44005 toc01 250 350 450 550 650 750 850 950 1050 counts ambpga[1:0] = 00 ambtim[2:0] = 000 compensation disabled power density 15.83w/cm2 clear red green blue ir counts vs. wavelength 800 600 400 200 response of clear and ir channels with incandescent light MAX44005 toc05 illuminance (lux) readings (counts) 100k 200k 300k 400k 500k 600k 700k 800k 0 0 1000 test conditions: when the count readings in one pga setting are saturated, change pga setting to the lower sensitivity pga gain setting. e.g., pga [1:0] = 00  pga [1:0] = 01 center-trimmed unit clear channel ir channel proximity adc counts vs. sensing distance MAX44005 toc03 sensing distance (mm) proximity counts 90 80 10 20 30 50 60 40 70 32 64 96 128 160 192 224 256 0 0 100 test conditions: prxtim = 1, prxpga = 0 850nm ir led, i led = 100ma 18% kodak gray card spectrum of light sources for measurement MAX44005 toc02 wavelength (nm) normalized response 900 800 400 500 600 700 20 40 60 80 100 120 140 160 0 300 1000 incandescent sunlight fluorescent 800 600 400 200 response of clear and ir channels with fluorescent light MAX44005 toc06 illuminance (lux) readings (counts) 50k 25k 75k 100k 125k 150k 175k 200k 225k 0 0 1000 test conditions: when the count readings in one pga setting are saturated, change pga setting to the lower sensitivity pga gain setting. e.g., pga [1:0] = 00  pga [1:0] = 01 center- trimmed unit clear channel ir channel supply current vs. temperature MAX44005 toc07 temperature (c) supply current (a) 80 60 40 20 0 -20 5 10 15 20 25 0 -40 100 clear clear + ir clear + rgb + ir test condtions: ambtim[2:0] = 000, all pga setting = 0 linearity response vs. rgb led MAX44005 toc08 power density (w/cm 2 ) counts 50k 100k 150k 200k 250k 0 0 400 300 200 100 clear channel response vs. green led green channel response vs. green led red channel response vs. red led test conditions: when the count readings in one pga setting are saturated, change pga setting to the lower sensitivity pga gain setting. e.g., pga [1:0] = 00  pga [1:0] = 01 blue channel response vs. blue led clear channel response to white led MAX44005 toc09 power density (w/cm 2 ) counts readings 1k 100 10 10 100 1k 10k 100k 1 1 10k pga [1:0] = 00 pga [1:0] = 01 pga [1:0] = 10 pga [1:0] = 11 test condition: ambtim [2:0] = 000
????????????????????????????????????????????????????????????????? maxim integrated products 6 MAX44005 rgb color, temperature, and infrared proximity sensor typical operating characteristics (continued) (v cc = 1.8v, t a = +25 n c, t min Ct max are from -40 n c to +85 n c, unless otherwise noted.) 10k 1k 100 10 1 100k supply current vs. lux MAX44005 toc11 reference meter reading (lux) supply currnet (a) 5 10 15 20 25 30 0 test conditions: cleae + rgb + ir mode light source: sunlight v cc = 1.8v temperature sensor readings vs. temperature MAX44005 toc10 temperature (c) temperature sensor readings (c) 80 70 60 50 40 30 20 10 0 -10 -20 -30 20 10 0 -10 -20 -30 80 -40 -40 70 60 50 40 30 x : temperature y: temperature sensor readings y = 0.0001x 2 + 0.9709x + 1.7085 sink current vs. v int low MAX44005 toc12 v int (v) sink current (ma) 0.3 0.2 0.1 2 4 6 8 10 12 14 16 0 0 0.4 test conditions: prox /ambint interrupt condition, v int low v drv (v) i drv (ma) 0.8 0.6 0.4 0.2 20 40 60 80 100 120 0 0 1.0 ir led current vs. output drive voltage, i drv vs. v drv MAX44005 toc13 110ma i drv setting 50ma i drv setting 10ma i drv setting supply current vs. time (zoom in) MAX44005 toc15 rgbc + ir + prox mode i led = 110ma 100ms integration time 200s/div i drv 100ma /div i cc 200a /div 0a 0a total current consumption vs. ir led current level MAX44005 toc14 ir led level (ma) total current (ua) 100 80 60 40 20 50 100 150 200 250 0 0 120 i total = i cc + i ir_led clear + rgb + ir + prox mode, 100ms integration time i total i cc supply current vs. time (zoom out) MAX44005 toc16 rgbc + ir + prox mode i led = 110ma 100ms integration time 40ms/div i drv 100ma /div i cc 200a /div 0a 0a
????????????????????????????????????????????????????????????????? maxim integrated products 7 typical operating characteristics (continued) (v cc = 1.8v, t a = +25 n c, t min Ct max are from -40 n c to +85 n c, unless otherwise noted.) clear channel linearity response MAX44005 toc17 power density (w/cm 2 ) counts readings 400 350 250 300 100 150 200 50 2k 4k 6k 8k 10k 12k 14k 16k 18k 0 0 450 pga [1:0] = 11 pga [1:0] = 00 pga [1:0] = 01 pga [1:0] = 10 green channel linearity response MAX44005 toc19 power density (w/cm 2 ) counts readings 400 350 250 300 100 150 200 50 2k 4k 6k 8k 10k 12k 14k 16k 18k 0 0 450 pga [1:0] = 11 pga [1:0] = 00 pga [1:0] = 01 pga [1:0] = 10 light source: 530nm green led red channel linearity response MAX44005 toc18 power density (w/cm 2 ) counts readings 400 350 250 300 100 150 200 50 2k 4k 6k 8k 10k 12k 14k 16k 18k 0 0 450 pga [1:0] = 11 pga [1:0] = 00 pga [1:0] = 01 pga [1:0] = 10 blue channel linearity response MAX44005 toc20 power density (w/cm 2 ) counts readings 400 350 250 300 100 150 200 50 2k 4k 6k 8k 10k 12k 14k 16k 18k 0 0 450 pga [1:0] = 11 pga [1:0] = 00 pga [1:0] = 01 pga [1:0] = 10 MAX44005 rgb color, temperature, and infrared proximity sensor
????????????????????????????????????????????????????????????????? maxim integrated products 8 MAX44005 rgb color, temperature, and infrared proximity sensor detailed description the MAX44005 combines a wide-dynamic range color sensor capable of measuring red, green, and blue (rgb) and infrared content of ambient light with an integrated temp sensor, infrared proximity (prox) sensor and transmitter. the ic also has a digital i 2 c interface and advanced interrupt pin functionality, making it very easy with which to interface. the die is placed inside an opti - cally transparent (utdfn-opto) package. a photodiode array inside the ic converts the light to a current which is then processed by low-power circuitry into a digital bit stream. the data is then stored in an output register that can be read by an i 2 c master. the ic contains five types of photodiodes sensitive to red, green, blue, clear, and infrared content of ambient light. the infrared photodiodes can be configured as either dc ambient infrared sensor or ac proximity sensor. in the amb mode, photodiode signals can be directly read by a sigma-delta adc. the user can choose whether to read just the clear channel, or clear + ir channel or clear + rgb + ir channels. due to paral - lel conversion by on-chip adcs, there is no additional delay in making ambient light information, however, there is a supply current change depending on whether only 1 channel is active (10 f a) to whether all channels are active (15 f a). in the proximity detect mode, the infrared proximity photodiodes are connected to sigma-delta adc after a sophisticated dc ambient ir rejection front-end circuit. this allows the proximity sensor to operate even in bright sunlight. key features of the ic include high-level integration, low- power design, small packaging, single-pulse proximity receive operation, and interrupt pin operation. the ic operates from a v cc of 1.7v to 2v and consumes just 10 f a current in amb mode and 15 f a in rgbc + ir mode. the on-chip ir proximity detector dc ambi - ent rejection circuitry is synchronized with pulsing of an integrated ir led transmitter to improve noise immunity from external ir sources. this scheme also reduces ir led power consumption compared to alternate methods and eliminates red-glow problems with the use of 850nm ir leds. an on-chip programmable interrupt function eliminates the need to continually poll the device for data, resulting in a significant power saving. ambient light sensing ambient light sensors are designed to detect brightness in the same way as human eyes do. to achieve this, the light sensor needs to have a spectral sensitivity that is identical to the photopic curve of the human eye (figure 1). the ics color sensors are designed to accurately derive the color chromaticity and intensity of ambient light. with parallel adc conversion circuits, conversion data from multiple channels can be read at the same time. an interrupt signal can also be dynamically configured with higher and lower thresholds and a persist timer. the interrupt is latched until the master reads the interrupt status register. this allows the master to stay in power- efficient sleep mode until a change in lighting condition alerts it. pin configuration pin description pin name function 1 v cc power supply 2 gnd ground 3 drv ir led current driver 4 int interrupt 5 scl i 2 c clock 6 sda i 2 c data 13 4 65 sda scl 2 v cc drv int gnd top view MAX44005
????????????????????????????????????????????????????????????????? maxim integrated products 9 MAX44005 rgb color, temperature, and infrared proximity sensor variation between light sources can extend beyond the visible spectral range (e.g., fluorescent, incandescent, and sunlight) have substantially different ir radiation content. the ic incorporates on-chip measurement of rgbc and ir of compensation of ambient light, allowing accurate lux detection in a variety of lighting conditions, as well as identification of type of light source. on-chip user-programmable clear, rgb, infrared channel gain registers allow the light sensor response to also be tailored for specific applications such as when the light sensor is placed under a colored or black glass. proximity light sensing the proximity sensor uses an external, infrared led source to emit controlled amounts of radiation. when an external object reflects back some of this infrared radia - tion back to the ic, it is detected by the integrated sen - sor photodiode. the strength of reflected light is used to determine the objects proximity to the sensor. it is important to take account for the fact that different objects at the same distance from the sensor can reflect different amounts of infrared radiation depending on their texture and color. the ic includes on-chip ambient cancellation circuitry in the receive path of the infrared proximity sensor. this scheme allows the part to operate in the presence of large amounts of dc-ambient ir radiation (e.g., sunlight). in addition, the use of a single-pulse technique in puls - ing the external infrared led makes the chip immune to fixed-frequency external infrared radiation such as from remote controls, electronic ballasts, etc., and enables reliable proximity sensor operation. led driver the ic features a led driver that delivers a pulsed cur - rent at the output. the pulse amplitude is programmable through the i 2 c interface in steps of 10ma and from 0ma to 110ma. a low-voltage compliance of the drv pin allows ir leds to be powered from lower voltage rails, possibly even from a 3.6v rail. high current drive accu - racy improves performance by eliminating part-to-part variation. since the duty ratio of the external ir led is as low as 0.01%, a 100ma pulse translates to only 10 f a of additional current. temperature sensor the ic also integrates a temperature sensor that can be used for ambient temperature measurement and com - pensation. a nonlinear response is designed to replicate the effect of temperature on the photodiodes used on the chip. figure 1. wavelength vs. counts wavelength (nm) 2k 4k 6k 8k 10k 12k 14k 0 250 350 450 550 650 750 850 950 1050 counts ambpga[1:0] = 00 ambtim[2:0] = 000 compensation disabled power density 15.83w/cm2 clear red green blue ir
???????????????????????????????????????????????????????????????? maxim integrated products 10 MAX44005 rgb color, temperature, and infrared proximity sensor register description register b7 b6 b5 b4 b3 b2 b1 b0 register address power- on reset state r/w status interrupt status reset shdn pwron prxints ambints 0x00 0x04 r/w configuration main configuration mode[2:0] ambsel[1:0] prxinte ambinte 0x01 0x00 r/w ambient configuration trim compen tempen ambtim[2:0] ambpga[1:0] 0x02 0x20 r/w proximity configuration drv[3:0] prxtim prxpga 0x03 0x02 r/w ambient + proximity reading ambient clear high byte amb_clear[13:8] 0x04 0x00 r ambient clear low byte amb_clear[7:0] 0x05 0x00 r ambient red high byte amb_red[13:8] 0x06 0x00 r ambient red low byte amb_red[7:0] 0x07 0x00 r ambient green high byte amb_green[13:8] 0x08 0x00 r ambient green low byte amb_green[7:0] 0x09 0x00 r ambient blue high byte amb_blue[13:8] 0x0a 0x00 r ambient blue low byte amb_blue[7:0] 0x0b 0x00 r ambient infrared high byte amb_ir[13:8] 0x0c 0x00 r ambient infrared low byte amb_ir[7:0] 0x0d 0x00 r ambient ir comp high byte amb_ircomp[13:8] 0x0e 0x00 r ambient ir comp low byte amb_ircomp[7:0] 0x0f 0x00 r proximity ir high byte prox[9:8] 0x10 0x00 r proximity ir low byte prox[7:0] 0x11 0x00 r temperature sensor temp high byte temp[13:8] 0x12 0x00 r temp low byte temp[7:0] 0x13 0x00 r interrupt thresholds amb upper thresholdhigh byte upthr[13:8] 0x14 0x00 r/w amb upper thresholdlow byte upthr[7:0] 0x15 0x00 r/w amb lower thresholdhigh byte lothr[13:8] 0x16 0x00 r/w amb lower thresholdlow byte lothr[7:0] 0x17 0x00 r/w threshold persist timer prxpst[1:0] ambpst[1:0] 0x18 0x00 r/w prox upper thresholdhigh byte prxupthr[9:8] 0x19 0xff r/w prox upper thresholdlow byte prxupthr[7:0] 0x1a 0xff r/w prox lower thresholdhigh byte prxlothr[9:8] 0x1b 0x00 r/w prox lower thresholdlow byte prxlothr[7:0] 0x1c 0x00 r/w ambient adc gains digital gain trim of clear channel trim_gain_clear[6:0] 0x1d 0xxx r/w digital gain trim of red channel trim_gain_red[6:0] 0x1e 0xxx r/w digital gain trim of green channel trim_gain_green[6:0] 0x1f 0xxx r/w digital gain trim of blue channel trim_gain_blue[6:0] 0x20 0xxx r/w digital gain trim of infrared channel trim_gain_ir[6:0] 0x21 0xxx r/w
???????????????????????????????????????????????????????????????? maxim integrated products 11 MAX44005 rgb color, temperature, and infrared proximity sensor the individual register bits are explained below. default power-up bit states are highlighted in bold. interrupt status (0x00) the ambints bit in the status register 0x00 is read only and indicates that an ambient light interrupt condition has occurred. if any of these bits (pwron, prxints, ambints ) is set to 1, the int pin is pulled low. the prxints bit in the status register 0x00 is read only and indicates that a proximity receive interrupt condition has occurred. pwron bit in the status register 0x00 is read only, and if set, indicates that a power-on-reset condition has occurred, and any user-programmed thresholds may not be valid anymore. the shdn bit in the status register 0x00 is read/write and can be used to put the part into and bring out of shutdown for power saving. all register data is retained during this opera - tion. the reset bit in the status register 0x00 is also read/write and can be used to reset all of the registers back to power-on default condition. reading the interrupt status register clears the pwron, prxints and ambints bits, and if set, deasserts the int pin ( int pin is pulled high by the off-chip pullup resistor). the prxints and ambints bits are disabled and set to 0 if the respective interrupt enable bits in register 0x01 are set to 0. table 1. ambient interrupt status flag (ambints) table 2. proximity receive interrupt status flag (prxints) table 3. power-on interrupt status flag (pwron) register bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 register address power- on reset state r/w interrupt status reset shdn pwron prxints ambints 0x00 0x04 r/w bit0 operation 0 no interrupt trigger event has occurred. 1 the ambient light has exceeded the designated window limits defined by threshold registers for longer than persist timer count ambpst[1:0]. it also causes the int pin to be pulled low. once set, the only way to clear this bit is to read this register. this bit is always set to 0 if ambinte bit is set to 0. bit1 operation 0 no interrupt trigger event has occurred. 1 the ir proximity receive intensity has exceeded the proximity threshold limit for longer than persist timer count prxpst[1:0]. it also causes the int pin to be pulled low. once set, the only way to clear this bit is to read this regis - ter. this bit is always set to 0 if prxinte bit is set to 0. bit2 operation 0 normal operating mode. 1 the part went through a power-up event, either because the part was turned on or because there was a power- supply voltage glitch. all interrupt threshold settings in the registers have been reset to power-on-default states and should be examined if necessary. the int pin is also pulled low. once this bit is set, the only way to clear this bit is to read this register.
???????????????????????????????????????????????????????????????? maxim integrated products 12 MAX44005 rgb color, temperature, and infrared proximity sensor writing to the main configuration register does not abort any ambient or proximity data conversion (registers 0x04 to 0x11) if already in progress. it applies the new settings during the next conversion period. table 4. shutdown control (shdn) table 6. ambient interrupt enable (ambinte) table 7. proximity interrupt enable (prxinte) table 5. reset control (reset) main configuration (0x01) note: detection of ambient interrupt event sets the ambints bit (register 0x00, bit0) only if ambinte bit is set to 1. detection of a proximity interrupt event sets the prxints bit (register 0x00, bit1) only if prxinte bit is set to 1. if either ambints or prxints bits are set to 1, it pulls the interrupt int pin low (assert it). a read of the interrupt status register clears both the ambints and prxints bits if set to 1, and deassert the int pin if pulled low. bit3 operation 0 the part is in normal operation. when the part returns from shutdown, note that the value in the data registers is not current until first conversion cycle is completed. 1 the part can be put into a power-save mode by writing a 1 to this bit. supply current is reduced to about 0.05 f a with no i 2 c clock activity. while all registers remain accessible and retain data, adc conversion data contained in them may not be current. writeable registers also remain accessible in shutdown. all interrupts are cleared. bit4 operation 0 the part is in normal operation. 1 the part undergoes a forced power-on-reset sequence. all configuration, threshold, and data registers are reset to power-on state by writing a 1 to this bit, and an internal hardware reset pulse is generated. this bit then automati - cally becomes 0 after the reset sequence is completed. after resetting, the pwron interrupt is triggered. register bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 register address power- on reset state r/w main configuration mode[2:0] ambsel[1:0] prxinte ambinte 0x01 0x20 r/w bit0 operation 0 the ambints bit and int pin remain unasserted even if an ambient interrupt event has occurred. the ambints bit is set to 0 if previously set to 1. see table 1 for more details. 1 detection of ambient interrupt events is enabled. see table 1 for more details. an ambient interrupt can trigger a hardware interrupt ( int pin pulled low) and set the ambints bit (register 0x00, bit0). bit1 operation 0 prxints bit and int pin remains unasserted even if a proximity interrupt event has occurred. the prxints bit is set to 0 if previously set to 1 . see table 2 for more details. 1 detection of proximity interrupt events is enabled. see table 2 for more details. a proximity interrupt can trigger a hardware interrupt ( int pin pulled low) and set the prxints bit (register 0x00, bit1).
???????????????????????????????????????????????????????????????? maxim integrated products 13 MAX44005 rgb color, temperature, and infrared proximity sensor ambient interrupt select (ambsel[1:0]) the two ambsel[1:0] bits define four operating modes for the ic. table 8. ambient interrupt select (ambsel[1:0]) table 9. mode[2:0] mode[2:0] the three mode[2:0] bits define eight operating modes for the ic. ambient configuration register (0x02) writing to the ambient configuration register aborts any ambient data conversion (registers 0x04 to 0x0f) if already in progress, applies the new settings immediately, and initiates a new conversion. * when tempen is set to 1. ambsel[1:0] operation 00 clear channel data is used to compare with ambient interrupt thresholds and ambient timer settings. 01 green channel data is used to compare with ambient interrupt thresholds and ambient timer settings. 10 ir channel data is used to compare with ambient interrupt thresholds and ambient timer settings. 11 temp channel data is used to compare with ambient interrupt thresholds and ambient timer settings. mode[2:0] operating mode comments 000 clear clear + temp* channel active only 001 clear + ir clear + temp* + ir channels active 010 clear + rgb + ir clear + temp* + rgb + ir channels active 011 clear + ir + prox clear + temp* + ir + prox channels active (clear + temp* + ir + prox interleaved) 100 clear + rgb + ir + prox clear + temp* + rgb + ir + prox channels active (clear + temp* + rbg + ir and prox interleaved) 101 prox only prox only continuous 110 reserved reserved 111 reserved reserved register bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 register address power- on reset state r/w ambient configuration trim compen tempen ambtim[2:0] ambpga[1:0] 0x02 0x00 r/w
???????????????????????????????????????????????????????????????? maxim integrated products 14 MAX44005 rgb color, temperature, and infrared proximity sensor table 10. ambpga[1:0] ambpga[1:0] the two ambpga[1:0] bits set the gain of the clear/red/green/blue/ir channel measurements according to table 10. * at 14-bit resolution, 100ms adc conversion time. sensitivity is four times higher with 400ms integration time. in ambtim[2:0] = 000 mode (100ms integration time). in ambtim[2:0] = 100 mode (400ms integration time). ambpga[1:0] clear red green nw/cm 2 per lsb* full scale (w/cm 2 ) nw/cm 2 per lsb* full scale (w/cm 2 ) nw/cm 2 per lsb* full scale (w/cm 2 ) 00 2 32.768 2 32.768 2 32.768 01 8 131.072 8 131.072 8 131.072 10 32 524.288 32 524.288 32 524.288 11 512 8388.61 512 8388.61 512 8388.61 ambpga[1:0] blue ir nw/cm 2 per lsb* full scale (w/cm 2 ) nw/cm 2 per lsb* full scale (w/cm 2 ) 00 4 65.536 2 32.768 01 16 262.144 8 131.072 10 64 1048.573 32 524.288 11 1024 16777.2 512 8388.61 ambpga[1:0] clear red green nw/cm 2 per lsb* full scale (w/cm 2 ) nw/cm 2 per lsb* full scale (w/cm 2 ) nw/cm 2 per lsb* full scale (w/cm 2 ) 00 0.5 8.192 0.5 8.192 0.5 8.192 01 2 32.768 2 32.768 2 32.768 10 8 131.072 8 131.072 8 131.072 11 128 2097.153 128 2097.153 128 2097.153 ambpga[1:0] blue ir nw/cm 2 per lsb* full scale (w/cm 2 ) nw/cm 2 per lsb* full scale (w/cm 2 ) 00 1 16.384 0.5 8.192 01 4 65.536 2 32.768 10 16 262.1433 8 131.072 11 256 4194.3 128 2097.153
???????????????????????????????????????????????????????????????? maxim integrated products 15 MAX44005 rgb color, temperature, and infrared proximity sensor tempen the integration time of temperature sensor is controlled by the ambient mode settings. the temperature sensor is enabled only if the clear channel is on. compen the integration time of compensation channel is controlled by the ambient mode settings. the compensation is enabled only when the clear channel is on. when compen = 1, the clear data is automatically compensated for stray ir leakage and temperature variations. when compen = 0, the ir compensation is disabled, but the output of the ir compensation data exists. table 14. trim adjust enable (trim) table 12. tempen table 13. compen table 11. ambtim[2:0] ambtim[2:0] the three ambtim[2:0] bits set the integration time for the red/green/blue/ir/temp channel adc conversion. bit 7 operation 0 use factory-programmed gains for all the channels. ignore any bytes written to the trim_gain_green[6:0], trim_ gain_red[6:0], trim_gain_blue[6:0], trim_gain_clear[6:0], and trim_gain_ir[6:0] registers. 1 use bytes written to the trim_gain_green[6:0], trim_gain_red[6:0], trim_gain_blue[6:0], trim_gain_ clear[6:0], and trim_gain_ir[6:0] registers to set the gain for each channel. bit 6 operation 0 disables temperature sensor. 1 enables temperature sensor. bit 5 operation 0 disables ir compensation. 1 enables ir compensation. only for mode[2:0] = 000 mode. ambtim[2:0] integration time (ms) full-scale adc (counts) bit resolution relative lsb size for fixed ambpga[1:0] 000 100 16,384 14 1x 001 25 4,096 12 4x 010 6.25 1,024 10 16x 011 1.5625 256 8 64x 100 400 16,384 14 1/4x 101 reserved not applicable not applicable not applicable 110 reserved not applicable not applicable not applicable 111 reserved not applicable not applicable not applicable
???????????????????????????????????????????????????????????????? maxim integrated products 16 MAX44005 rgb color, temperature, and infrared proximity sensor table 17. drv[3:0] * at 14-bit resolution, 100ms adc conversion time. proximity configuration register (0x03) writing to the proximity configuration register aborts any proximity data conversion (registers 0x10 and 0x11) if already in progress, and applies the new settings immediately. prxtim the prxtim sets the integration time for ir channel adc in proximity mode as shown in table 16. drv[3:0] the four bits of drv set the led drive current. prxpga the prxpga sets the gain of the ir channel in proximity mode measurement according to table 15. table 15. prxpga table 16. prxtim register bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 register address power- on reset state r/w proximity configuration drv[3:0] prxtim prxpga 0x03 0x00 r/w bit1 adc conversion time (ms) full-scale adc (counts) bit resolution 0 6.25 1024 10 1 1.5625 256 8 drv[3:0] led current (ma) drv[3:0] led current (ma) 0000 led driver disabled 0110 60 0001 10 0111 70 0010 20 1000 80 0011 30 1001 90 0100 40 1010 100 0101 50 1011-1111 110 bit0 w/cm 2 per lsb* full scale (w/cm 2 ) 0 2 2095 1 16 16,777
???????????????????????????????????????????????????????????????? maxim integrated products 17 MAX44005 rgb color, temperature, and infrared proximity sensor ambient data register (0x04C0x0f) proximity data register (0x10, 0x11) the two bytes here (prox[9:0]) hold the results of the proximity receive signal conversion. the resolution and bit length of the result is controlled by the value of the prxtim bits. the result is always right justified in the two registers, and the unused high bits are set to zero. the 12 registers here hold the results of adc. amb_clear[13:0], amb_red[13:0], amb_green[13:0], amb_blue[13:0], amb_ir[13:0], and amb_ircomp[13:0] hold the 14-bit adc data of the clear/red/green/blue/ir/ comp channels. amb_ircomp[13:0] can be used to enhance overtemperature performance of the device. the resolution and bit length of the result is controlled by the value of ambtim[2:0] and ambpga[1:0] bits. the result is always right justified in registers, and the unused high bits are set to zero. temperature data register (0x12C0x13) these two bytes hold the data of the temperature sensor. register bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 register address power- on reset state r/w ambient reading ambient clear high byte amb_clear[13:8] 0x04 0x00 r ambient clear low byte amb_clear[7:0] 0x05 0x00 r ambient red high byte amb_red[13:8] 0x06 0x00 r ambient red low byte amb_red[7:0] 0x07 0x00 r ambient green high byte amb_green[13:8] 0x08 0x00 r ambient green low byte amb_green[7:0] 0x09 0x00 r ambient blue high byte amb_blue[13:8] 0x0a 0x00 r ambient blue low byte amb_blue[7:0] 0x0b 0x00 r ambient infrared high byte amb_ir[13:8] 0x0c 0x00 r ambient infrared low byte amb_ir[7:0] 0x0d 0x00 r ambient ir comp high byte amb_ircomp[13:8] 0x0e 0x00 r ambient ir comp low byte amb_ircomp[7:0] 0x0f 0x00 r register bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 register address power- on reset state r/w proximity ir high byte prox[9:8} 0x10 0x00 r proximity ir low byte prox[7:0] 0x11 0x00 r register bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 register address power- on reset state r/w temp high byte temp[13:8] 0x12 0x00 r temp low byte temp[7:0] 0x13 0x00 r
???????????????????????????????????????????????????????????????? maxim integrated products 18 MAX44005 rgb color, temperature, and infrared proximity sensor the ambient upper threshold and lower threshold register bits (upthr[13:0] and lothr[13:0], respectively) set the window limits that are used to trigger an ambient interrupt, ambints. it is important to set these values according to the selected bit resolution/integration time chosen for the ambient measurement based on the ambtim[2:0] and ambpga[1:0] settings. the upper two bits are always ignored. if the ambinte bit is set, and the selected ambient channel data is outside the upper or lower thresholds for a period greater than that defined by the ambpst persist time, the ambints bit in the status register are set and int pin is pulled low. ambient interrupt threshold registers (0x14C0x17) amb/prox threshold persist timer register (0x18) prxpst[1:0] and ambpst[1:0] set one of four persist values in table 18 that control a time-delay before the interrupt logic reacts to a detected event. this feature is added to reduce false or nuisance interrupts. table 18. prxpst[1:0]/ambpst[1:0] when ambpst[1:0] is set to 00 and the ambinte bit is set to 1, the first time an amb interrupt event is detected, the ambints interrupt bit is set and the int pin goes low. if ambpst[1:0] is set to 01, then four consecutive interrupt events must be detected on four consecutive measurement cycles. similarly, if ambpst[1:0] is set to 10 or 11, then 8 or 16 consecutive interrupt events must be detected. if there is an intervening measurement cycle where no interrupt event is detected, then the count is reset to zero. the proximity interrupt function is managed in the same way with prxpst[1:0]. register bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 register address power- on reset state r/w amb upper thresholdhigh byte upthr[13:8] 0x14 0x00 r/w amb upper thresholdlow byte upthr[7:0] 0x15 0x00 r/w amb lower thresholdhigh byte lothr[13:8] 0x16 0x00 r/w amb lower thresholdlow byte lothr[7:0] 0x17 0x00 r/w register bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 register address power- on reset state r/w threshold persist timer prxpst[1:0] ambpst[1:0] 0x18 0x00 r/w prxpst[1:0] or ambpst[1:0] no. of consecutive measurements required to trigger an interrupt 00 1 01 4 10 8 11 16
???????????????????????????????????????????????????????????????? maxim integrated products 19 MAX44005 rgb color, temperature, and infrared proximity sensor proximity threshold registers (0x19C0x1c) trim_gain_clear is used to trim the gain of the clear channel. the proximity upper and lower thresholds (prxupthr[9:0] and prxlothr[9:0], respectively) set the window limits that are used to trigger a proximity interrupt, and prxints is set. it is important to set these values according to the selected bit resolution/integration time chose for the prxtim measurement based on the prxtim and prxpga settings. if the prxinte bit is set, and the proximity channel data is outside the upper or lower thresholds for a period greater than that defined by the prxpst persist time, the prxints bit in the status register is set and the int pin is pulled low. gain trim registers (0x1dC0x21) trim_gain_red is used to trim the gain of the red channel. trim_gain_green is used to trim the gain of the green channel. trim_gain_blue is used to trim the gain of the blue channel. trim_gain_ir is used to trim the gain of the ir channel. these registers are loaded with the factory trimmed gains on power-up. when the trim bit in register 0x02 is set to 1, these registers can be overwritten with user-chosen gains. when the trim bit is set back to 0, these registers are automatically reloaded with factory-trimmed values. register bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 register address power- on reset state r/w prox upper threshold high byte prxupthr[9:8] 0x19 0xff r/w prox upper thresholdlow byte prxupthr[7:0] 0x1a 0xff r/w prox lower threshold high byte prxlothr[9:8] 0x1b 0x00 r/w prox lower thresholdlow byte prxlothr[7:0] 0x1c 0x00 r/w register bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 register address power- on reset state r/w digital gain trim of clear channel trim_gain_clear[6:0] 0x1d 0xxx r/w digital gain trim of red channel trim_gain_red[6:0] 0x1e 0xxx r/w digital gain trim of green channel trim_gain_green[6:0] 0x1f 0xxx r/w digital gain trim of blue channel trim_gain_blue[6:0] 0x20 0xxx r/w digital gain trim of infrared channel trim_gain_ir[6:0] 0x21 0xxx r/w
???????????????????????????????????????????????????????????????? maxim integrated products 20 MAX44005 rgb color, temperature, and infrared proximity sensor applications information ambient sensing applications typical applications involve placing the ic behind glass with a small semi-transparent window placed above it. use the photodiode sensitive area as shown in figure 2 to properly position the window above the part. the part comes equipped with internal gain trim regis - ters for the clear, rgb, and ir amb photodiodes. by suitably choosing the gains for these channels, one can generate accurate ambient light readings in all lighting conditions irrespective of type of glass the part is used under. this is especially useful for color-glass applica - tions where for cosmetic reasons the part is placed behind a color film to hide its presence and to blend with the product cosmetic look. this film has the peculiar property of attenuating most ambient light, but passing through infrared radiation. it is possible to map the rgb color values to an xy coor - dinate system for ambient color temperature and color gamut display. proximity sensing applications the ic integrates a novel proximity sensor interface circuit with a robust built-in ambient ir cancellation scheme. the internal dc ir rejection circuit eliminates problems of adc saturation in the presence of strong ambient infrared radiation, such as bright sunlight. further, the proximity sensor uses a single-pulse scheme for the ir transmitter that eliminates red-glow problems seen in competing solutions to drive 850nm ir leds, while also reducing average ir led power consumption to less than 0.01% of the ir led peak current. figure 2. photodiode location MAX44005 b c r g r g b b+r g b c r c b+r g b g r b c r c b+r g b g r c b+r r c b c b g r ir sensor 6 5 4 3 2 1 285m 750m 350m 2000m 300m 650m 490m 185m 160m 130m 2000m 750m 610m 240m
???????????????????????????????????????????????????????????????? maxim integrated products 21 MAX44005 rgb color, temperature, and infrared proximity sensor interrupt operation ambient interrupt is enabled by setting bit 0 of register 0x01 to 1 and proximity interrupt is enabled by setting bit 1 of register 0x01 to 1 (see tables 6 and 7). the interrupt pin, int , is an open-drain output and pulls low when an interrupt condition occurs (e.g., when ambient lux read - ings exceed threshold limits for a period greater than that set by the persist timer register). the interrupt status bit is cleared automatically if register 0x00 is read or if the interrupts are disabled. a pwron interrupt bit is set to alert the master of a chip reset operation in case of a power-supply glitch, which can happen on smartphones that place the light sensor on a flex with a small connector. it is recommended to utilize the interrupt pin on the ic to alert the master to come and read measurements from the ic. this eliminates the need for the microcontroller (i 2 c master) to continually poll the device for information. due to the use of pullup resistors on the i 2 c bus, mini - mizing i 2 c bus activity can reduce power consumption substantially. in addition, this frees up the microcontroller resources to service other background processes to improve device performance. the wide variety of smarts available on the chip, such as ability to set the threshold levels and to count persist timer limits, allow the part to operate in an autonomous mode most of the time. typical operating sequence here is the typical operating sequence for the master to communicate to the ic: a. setup: 1) read the interrupt status register (0x00) to confirm only the pwron bit is set (usually at power-up only). this also clears a hardware interrupt. 2) set the threshold and persist timer registers for ambient and proximity sensor measurements. 3) write 0x01 to proximity configuration register (register 0x03) to set the proximity sensor in the lowest gain setting, amb sensor in the highest gain setting, and the prox and amb adcs are in 10-bit and 14-bit modes separately. 4) set ir led current to suitable level by writing to the transmit configuration register (0x03). 5) write 0x43 to main configuration register (register 0x01) to set the part in rgbc + ir + prox mode, and to enable amb and proximity interrupts. ensure rgbc + ir + prox mode is enabled. 6) set new clear, rgb, and infrared channel gains if necessary to customize amb operation for appli - cation conditions. ensure trim bit is set to 1 when not using default factory-trim settings. otherwise, keep this bit set to 0 (power-on default state). b. wait for interrupt. c. on interrupt: 1) read the interrupt status register (0x00) to confirm the ic to be source of interrupt and to check for type of interrupt. this should clear the hardware interrupt on the part, if set. 2) if an amb interrupt has occurred, read amb registers (register 0x04-0x0d) to confirm if data is valid, and take appropriate action (e.g., sets new backlight strength). set new amb thresholds if necessary. 3) if a prox interrupt has occurred, read the prox ir registers (registers 0x10-0x11) and take appropriate action (typically turn off or turn on touch screen and backlight). set new proximity thresholds if necessary. 4) return to step b. i 2 c serial interface the ic features an i 2 c/smbus?-compatible, 2-wire serial interface consisting of a serial-data line (sda) and a serial-clock line (scl). sda and scl facilitate com - munication between the ic and the master at clock rates up to 400khz. figure 3 shows the 2-wire interface timing diagram. the master generates scl and initiates data table 19. slave address smbus is a trademark of intel corp. slave address for writing slave address for reading 1000 1000 1000 1001
???????????????????????????????????????????????????????????????? maxim integrated products 22 MAX44005 rgb color, temperature, and infrared proximity sensor transfer on the bus. a master device writes data to the ic by transmitting the proper slave address followed by the register address and then the data word. each trans - mit sequence is framed by a start (s) or repeated start (sr) condition and a stop (p) condition. each word transmitted to the ic is 8 bits long and is followed by an acknowledge clock pulse. a master reading data from the ic transmits the proper slave address followed by a series of nine scl pulses. the ic transmits data on sda in sync with the master-generated scl pulses. the master acknowledges receipt of each byte of data. each read sequence is framed by a start or repeated start condition, a not acknowledge, and a stop condi - tion. sda operates as both an input and an open-drain output. a pullup resistor, typically greater than 500 i , is required on the sda bus. scl operates as only an input. a pullup resistor, typically greater than 500 i , is required on scl if there are multiple masters on the bus, or if the master in a single-master system has an open-drain scl output. series resistors in line with sda and scl are optional. series resistors protect the digital inputs of the ic from high-voltage spikes on the bus lines, and mini - mize crosstalk and undershoot of the bus signal. bit transfer one data bit is transferred during each scl cycle. the data on sda must remain stable during the high period of the scl pulse. changes in sda while scl is high are control signals. see the start and stop conditions sec - tion. sda and scl idle high when the i 2 c bus is not busy. start and stop conditions sda and scl idle high when the bus is not in use. a mas - ter initiates communication by issuing a start condition. a start condition is a high-to-low transition on sda with scl high. a stop condition is a low-to-high transition on sda while scl is high (figure 4). a start condition from the master signals the beginning of a transmission to the ic. the master terminates transmission and frees the bus by issuing a stop condition. the bus remains active if a repeated start condition is generated instead of a stop condition. figure 3. 2-wire interface timing diagram figure 4. start, stop, and repeated start conditions figure 5. acknowledge scl sda start condition stop condition repeated start condition start condition t hd, sta t su, sta t hd, sta t sp t buf t su, sto t low t su, dat t hd, dat t high t r t f scl sda ss rp 1 scl start condition sda 28 9 clock pulse for acknowledgment acknowledge not acknowledge
???????????????????????????????????????????????????????????????? maxim integrated products 23 MAX44005 rgb color, temperature, and infrared proximity sensor early stop conditions the ic recognizes a stop condition at any point during data transmission except if the stop condition occurs in the same high pulse as a start condition. for proper operation, do not send a stop condition during the same scl high pulse as the start condition. acknowledge the acknowledge bit (ack) is a clocked ninth bit that the ic uses to handshake receipt each byte of data when in write mode (figure 5). the ic pulls down sda during the entire master-generated ninth clock pulse if the previous byte is successfully received. monitoring ack allows for detection of unsuccessful data transfers. an unsuccess - ful data transfer occurs if a receiving device is busy or if a system fault has occurred. in the event of an unsuccess - ful data transfer, the bus master may retry communica - tion. the master pulls down sda during the ninth clock cycle to acknowledge receipt of data when the ic is in read mode. an acknowledge is sent by the master after each read byte to allow data transfer to continue. a not acknowledge is sent when the master reads the final byte of data from the ic, followed by a stop condition. write data format a write to the ic includes transmission of a start condi - tion, the slave address with the r/ w bit set to 0, one byte of data to configure the internal register address pointer, one or more bytes of data, and a stop condition. figure 6 illustrates the proper frame format for writing one byte of data to the ic. figure 7 illustrates the frame format for writing n-bytes of data to the ic. the slave address with the r/ w bit set to 0 indicates that the master intends to write data to the ic. the ic acknowledge receipt of the address byte during the master-generated ninth scl pulse. figure 6. writing 1 byte of data to the ic figure 7. writing n-bytes of data to the ic a 0 slave address register address data byte acknowledge from MAX44005 r/w 1 byte autoincrement internal register address pointer acknowledge from MAX44005 acknowledge from MAX44005 b1 b0 b3 b2 b5 b4 b7 b6 s a a p 1 byte autoincrement internal register address pointer acknowledge from MAX44005 acknowledge from MAX44005 b1 b0 b3 b2 b5 b4 b7 b6 a a 0 acknowledge from MAX44005 r/w s a 1 byte acknowledge from MAX44005 b1 b0 b3 b2 b5 b4 b7 b6 p a slave address register address data byte 1 data byte n
???????????????????????????????????????????????????????????????? maxim integrated products 24 MAX44005 rgb color, temperature, and infrared proximity sensor the second byte transmitted from the master configures the ics internal register address pointer. the pointer tells the ic where to write the next byte of data. an acknowl - edge pulse is sent by the ic upon receipt of the address pointer data. the third byte sent to the ic contains the data that is written to the chosen register. an acknowledge pulse from the ic signals receipt of the data byte. the address pointer autoincrements to the next register address after each received data byte. this autoincrement feature allows a master to write to sequential registers within one continuous frame. figure 8 illustrates how to write to mul - tiple registers with one frame. the master signals the end of transmission by issuing a stop condition. read data format send the slave address with the r/ w bit set to 1 to initi - ate a read operation. the ic acknowledges receipt of its slave address by pulling sda low during the ninth scl clock pulse. a start command followed by a read com - mand resets the address pointer to register 0x00. the first byte transmitted from the ic is the content of register 0x00. transmitted data is valid on the rising edge of the master-generated serial clock (scl). the address pointer autoincrements after each read data byte. this autoincre - ment feature allows all registers to be read sequentially within one continuous frame. a stop condition can be issued after any number of read data bytes. if a stop condition is issued followed by another read operation, the first data byte to be read is from register 0x00 and subsequent reads autoincrement the address pointer until the next stop condition. the address pointer can be preset to a specific register before a read command is issued. the master presets the address pointer by first sending the ics slave address with the r/ w bit set to 0 followed by the register address. a repeated start condition is then sent followed by the slave address with the r/ w bit set to 1. the ic transmits the contents of the specified register. the address pointer autoincrements after transmitting the first byte. attempting to read from register addresses higher than 0xff results in repeated reads of 0xff. note that 0xf6 to 0xff are reserved regis - ters. the master acknowledges receipt of each read byte during the acknowledge clock pulse. the master must acknowledge all correctly received bytes except the last byte. the final byte must be followed by a not acknowl - edge from the master and then a stop condition. figure 8 illustrates the frame format for reading one byte from the ic. figure 9 illustrates the frame format for reading multiple bytes from the ic. figure 8. reading one indexed byte of data from the ic figure 9. reading n-bytes of indexed data from the ic acknowledge from MAX44005 1 byte auto-increment internal register address pointer acknowledge from MAX44005 not acknowledge from master a a p a 0 acknowledge from MAX44005 r/w sa r/w repeated start sr 1 slave address register address slave address data byte acknowledge from MAX44005 1 byte auto-increment internal register address pointer acknowledge from MAX44005 a a ap 0 acknowledge from MAX44005 r/w sa r/w repeated start sr 1 slave address register address slave address data byte
???????????????????????????????????????????????????????????????? maxim integrated products 25 MAX44005 rgb color, temperature, and infrared proximity sensor typical application circuit ordering information + denotes a lead(pb)-free/rohs-compliant package. part pin-package temp range MAX44005edt+ 6 otdfn -40 n c to +85 n c v led = 1.7v to 5.5v 1.7v to 2v 1.4v to 5.5v 1f 10ki 10ki 10ki sda micro- controller (i 2 c master) scl sda i 2 c slave_n v cc gnd drv int scl sda scl int MAX44005 scl sda i 2 c slave_1
???????????????????????????????????????????????????????????????? maxim integrated products 26 MAX44005 rgb color, temperature, and infrared proximity sensor package information for the latest package outline information and land patterns (footprints), go to www.maxim-ic.com/packages . note that a +, #, or - in the package code indicates rohs status only. package drawings may show a different suffix character, but the drawing pertains to the package regardless of rohs status. package type package code outline no. land pattern no. 6 otdfn d622cn+1 21-0606 90-0376
maxim cannot assume responsibility for use of any circuitry other than circuitry entirely embodied in a maxim product. no circuit patent licenses are implied. maxim reserves the right to change the circuitry and specifications without notice at any time. maxim integrated products, 120 san gabriel drive, sunnyvale, ca 94086 408-737-7600 27 ? 2012 maxim integrated products maxim is a registered trademark of maxim integrated products, inc. revision history revision number revision date description pages changed 0 5/12 initial release MAX44005 rgb color, temperature, and infrared proximity sensor


▲Up To Search▲   

 
Price & Availability of MAX44005

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X